home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSuuuubbbbssssttttrrrriiiinnnnggggWWWWccccssss((((UUUU3333NNNNXXXXIIII))))XXXX SSSSyyyysssstttteeeeXXXXmmmmmmmmTTTTVVVVeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSuuuubbbbssssttttrrrriiiinnnnggggWWWWccccssss((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_T_e_x_t_F_i_e_l_d_G_e_t_S_u_b_s_t_r_i_n_g_W_c_s - A TextField function that
- retrieves a a portion of a wide character internal text
- buffer
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/TextF.h>
-
- int XmTextFieldGetSubstringWcs (wwwwiiiiddddggggeeeetttt,,,, ssssttttaaaarrrrtttt,,,, nnnnuuuummmm____cccchhhhaaaarrrrssss,,,, bbbbuuuuffffffffeeeerrrr____ssssiiiizzzzeeee,,,, bbbbuuuuffffffffeeeerrrr)
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nssssttttaaaarrrrtttt;
- _i_n_t nnnnuuuummmm____cccchhhhaaaarrrrssss;
- _i_n_t bbbbuuuuffffffffeeeerrrr____ssssiiiizzzzeeee;
- _w_c_h_a_r__t *bbbbuuuuffffffffeeeerrrr;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_T_e_x_t_F_i_e_l_d_G_e_t_S_u_b_s_t_r_i_n_g_W_c_s retrieves a copy of a portion of
- the internal text buffer of a TextField widget that is
- stored in a wide character format. The function copies a
- specified number of characters from a given start position
- in the internal text buffer into a buffer provided by the
- application. A NULL terminator is placed at the end of the
- copied data.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the TextField widget ID.
-
- ssssttttaaaarrrrtttt
- Specifies the beginning character position from which
- the data will be retrieved. This is an integer number
- of characters from the beginning of the text buffer.
- The first character position is 0.
-
- nnnnuuuummmm____cccchhhhaaaarrrrssss
- Specifies the number of _w_c_h_a_r__t characters to be copied
- into the provided buffer.
-
- bbbbuuuuffffffffeeeerrrr____ssssiiiizzzzeeee
- Specifies the size of the supplied buffer as a number
- of _w_c_h_a_r__t storage locations. The minimum size is
- nnnnuuuummmm____cccchhhhaaaarrrrssss + 1.
-
- bbbbuuuuffffffffeeeerrrr
- Specifies the wide character buffer into which the
- internal text buffer will be copied.
-
- For a complete definition of TextField and its associated
- resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- _X_m_C_O_P_Y__S_U_C_C_E_E_D_E_D
- The function was successful.
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSuuuubbbbssssttttrrrriiiinnnnggggWWWWccccssss((((UUUU3333NNNNXXXXIIII))))XXXX SSSSyyyysssstttteeeeXXXXmmmmmmmmTTTTVVVVeeeexxxxttttFFFFiiiieeeellllddddGGGGeeeettttSSSSuuuubbbbssssttttrrrriiiinnnnggggWWWWccccssss((((3333XXXX))))
-
-
-
- _X_m_C_O_P_Y__F_A_I_L_E_D
- The function failed because it was unable to copy the
- specified number of characters into the buffer
- provided. The buffer size may be insufficient. The
- contents of bbbbuuuuffffffffeeeerrrr are undefined.
-
- _X_m_C_O_P_Y__T_R_U_N_C_A_T_E_D
- The requested number of characters extended beyond the
- internal buffer. The function copied characters to the
- end of the buffer and terminated the string with a NULL
- terminator; fewer than nnnnuuuummmm____cccchhhhaaaarrrrssss characters were
- copied.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_T_e_x_t_F_i_e_l_d(_3_X) and _X_m_T_e_x_t_F_i_e_l_d_G_e_t_S_u_b_s_t_r_i_n_g(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-